package com.ld.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;


/**
 * 员工表
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Staff {

  private Integer staffId;//staff表
  private String firstName;//staff表
  private String lastName;//staff表
  private Integer addressId;//staff表
  private String country; //国家 country表
  private String district; //省 address表
  private String city; //市 city表
  private Integer cityId; //市Id address表(用于修改地址的依据)
  private String address1;//address表的address字段
  private String address2;//address表的address2字段
  private String postalCode;//address表
  private String phone;//address表
  private String email; //staff表
  private Integer storeId;//staff表
  private Integer active;//staff表
  private String userName; //账号 staff表
  private String passWord; //staff表
  private String salt;//staff表
  private java.sql.Timestamp lastUpdate;//staff表
  /**
   * 权限相关
   */
  private List<String> roleName;//中文:超级管理员...
  private List<String> roleType;//英文:superadmin....

}
